package com.wei.ds;

import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.ZoneOffset;

/**
 * @Author :sunwei
 * @Description:
 * @Date create in 22:05  2021/4/19
 * @Modified by:
 */
public class TestMain {

    public static void main(String[] args) throws InterruptedException {
        SchedulerTest schedulerTest = new SchedulerTest();
        LocalDateTime start = LocalDateTime.of(2021, 4, 19, 23, 2);
        LocalDateTime end = LocalDateTime.of(2021, 4, 19, 23, 4);

        LocalDateTime upStart = LocalDateTime.of(2021, 4, 19, 23, 1);
        LocalDateTime upEnd = LocalDateTime.of(2021, 4, 19, 23, 3);
        schedulerTest.runTask(start,end);
//        schedulerTest.runTask(upStart,end);
        schedulerTest.update(upStart,upEnd);
//        schedulerTest.runTask(start,upEnd);\
//        Thread.sleep(1000*10*30);

    }
}
